package com.css.lossHouse.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.css.handler.GeometryTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Dbj
 * @date 2024年09月27日  15:54
 */
@Data
@TableName("basic_loss_house")
@Accessors(chain = true)
public class LossHouse implements Serializable {
    private String id;
    private String earthQuakeId;
    private String influenceVersion;
    private String intensity;
    @TableField(value = "geom",typeHandler = GeometryTypeHandler.class)
    private String geom;
    private BigDecimal lossHouseNum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Integer modelType;

}
